<?php

namespace App\Http\Controllers\Home;

use App\Models\Depart;

class DepartmentController extends BaseController
{

    public function __construct(Depart $depart)
    {
        parent::__construct();
        $this->depart = $depart;
    }

    public function getDepartmentList(){
        $res = $this->depart->getCachAllList();
        return ajax_return(array('departlist'=>$res));
    }
}
